package fr.efrei.musicpliz.service;

import java.util.List;

import fr.efrei.musicpliz.dto.CompteDto;
import fr.efrei.musicpliz.entity.Compte;
import fr.efrei.musicpliz.entity.Message;

public interface MessageService {
	public Message saveMessage(Message message);
	public void createMessages(Message message);
	public List<Message> retrieveReceivedMessages(CompteDto compte);
	public List<Message> retrieveSentMessages(CompteDto compte);
	public int getNewReceivedCount(CompteDto compte);
	public void delete(Message message);
}
